package org.example.mylogin.entity;


    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import java.io.Serializable;
    import java.util.Date;

    import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
    * 管理员表
    * </p>
* @author mylogin
* @since 2024-04-14
*/
    @Data
    @TableName("admin")

    public class Admin implements Serializable {

    private static final long serialVersionUID = 1713075546985L;

            /**
            * "管理员id"
            */
            @TableId("admin_id")

    private String adminId;


        /**
        * "手机"
        */

    private String phone;


        /**
        * "密码"
        */

    private String password;


        /**
        * "昵称"
        */

    private String nickname;


        /**
        * "头像"
        */

    private String avatarUrl;


        /**
        * "创建时间"
        */

        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createdAt;


        /**
        * "最后更新时间"
        */

        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updatedAt;


        /**
        * "删除时间"
        */

    private String deletedAt;

}